home *** CD-ROM | disk | FTP | other *** search
/ NetNews Offline 2 / NetNews Offline Volume 2.iso / news / comp / sys / amiga / programmer / 1311 < prev    next >
Encoding:
Internet Message Format  |  1996-08-05  |  4.7 KB

  1. Path: informatik.tu-muenchen.de!fischerj
  2. From: fischerj@informatik.tu-muenchen.de (Juergen "Rally" Fischer)
  3. Newsgroups: comp.sys.amiga.programmer
  4. Subject: Re: Demo/game to OS friendly part II
  5. Date: 17 Jan 1996 18:04:18 GMT
  6. Organization: Technische Universitaet Muenchen, Germany
  7. Distribution: world
  8. Message-ID: <4djdn2$2tk@sunsystem5.informatik.tu-muenchen.de>
  9. References: <4csu3p$oa6@sunsystem5.informatik.tu-muenchen.de> <4cu1jn$1n7@serpens.rhein.de> <4cv7mb$dn6@sunsystem5.informatik.tu-muenchen.de> <4d0k83$atl@serpens.rhein.de> <4d6am7$i9k@sunsystem5.informatik.tu-muenchen.de> <4ddhou$7qu@serpens.rhein.de> <4deshh$mpj@sunsystem5.informatik.tu-muenchen.de> <4dg16j$ha1@serpens.rhein.de>
  10. NNTP-Posting-Host: hphalle5.informatik.tu-muenchen.de
  11. Originator: fischerj@hphalle5.informatik.tu-muenchen.de
  12.  
  13.  
  14. In article <4dg16j$ha1@serpens.rhein.de>, mlelstv@serpens.rhein.de (Michael van Elst) writes:
  15. |> fischerj@Informatik.TU-Muenchen.DE (Juergen "Rally" Fischer) writes:
  16. |> 
  17. |> >Michael van Elst (mlelstv@serpens.rhein.de) wrote:
  18. |> >: fischerj@informatik.tu-muenchen.de (Juergen "Rally" Fischer) writes:
  19. |> 
  20. |> >: >aeh :) I mean, the videocontroll just changes bplcon to get it
  21. |> >: >non-dualpf, but the OS still handles it as dualpf ?
  22. |> 
  23. |> >: It is still treated as two bitmaps.
  24. |> 
  25. |> >not by the hardware, I guess ;)
  26. |> 
  27. |> You have problems with the english language.
  28.  
  29. This should have been "not displayed in dualpf mode by the hardware". 
  30. But read about my "how many bitmaps got non-dualpf" comment :)
  31.  
  32. |> 
  33. |> Yes. It is treated as two bitmaps by the hardware, so-called _play-fields_.
  34. |> These play-fields can be scrolled independently.
  35.  
  36. Well, when talking about the hardware, it the question how many bitmaps
  37. are used gets philosphic, as you could interpret a playfield as
  38. "4 overlayed same-width 1-plane-bitmaps" ;) BTW I know bplcon2 still works
  39. also in non-dual mode, else I couldn't have written my routine ;)
  40.  
  41. |> 
  42. |> It is not handled as dual-play-field-mode which would change the
  43. |> colormapping scheme.
  44.  
  45. yes. The only reason for dualpf mode on AGA is taking care of the
  46. spriteprioities.
  47.  
  48. |> 
  49. |> >: Read the section about dual-playfield screens.
  50. |> 
  51. |> >It tells there are 2 tmpras chained together, as there is no
  52. |> >next *  I guess I got to just put 2 struc tmpras sequential in mem ?
  53. |> 
  54. |> You have problems with reading even simple text. The structure is
  55.  
  56. aeh :) I rather had problems to remember the right structure word. 
  57. rasinfo, yesyes :)
  58.  
  59. |> called RasInfo. TmpRas is used as temporary storage for some rendering
  60. |> functions.
  61. |> 
  62. |> struct RasInfo  /* used by callers to and InitDspC() */
  63.  
  64. InitDsp ? :)
  65.  
  66. |> {
  67. |>    struct   RasInfo *Next;          /* used for dualpf */
  68. |>    struct   BitMap *BitMap;
  69. |>    WORD    RxOffset,RyOffset;      /* scroll offsets in this BitMap */
  70. |> };
  71. ok.
  72.  
  73. |> 
  74. |> >the setup doesn't chaging $102 every scanline. the one that would does make
  75. |> >a blank each 2nd line, you said.
  76. |> 
  77. |> I said ? Check your brain.
  78.  
  79. (reading old news...):
  80.  
  81. >>>
  82. >also I see no way of poking horiz shift without getting different
  83. >positions than the defined overscan.
  84.  
  85. Not for each scanline. You may achieve similar effects with attached
  86. viewports.
  87. <<<
  88.  
  89. not for each scanline ?
  90.  
  91. >>>
  92. >wouldn't each 256 color vport be lead by some blank lines with
  93. >copper defining the colors ?
  94.  
  95. Not really. You can define that a viewport inherits the colors from
  96. the previous viewport. However, with the current OS you still get
  97. at least 1 blank line that you have to hide somehow.
  98. <<<
  99.  
  100. 1 blank line ?
  101.  
  102. how to interpret it ? So is there a OSy way to finally get a copper list
  103. which is changing 102 each line ?
  104.  
  105. IF so, then I guess I will need to use loadview() for buffering, 
  106. no Amiga-M :\
  107. So the OS compliant version will behave more nasty to the user on
  108. OS3.0, which is the price for it working on 4.0 ?
  109.  
  110. is there ham emulation on gfx-cards btw. Could I also run a ham8 wb on draco ?
  111.  
  112. |> >mhm anyway I only need the 8 sprites for the special case: AGA&(PAL|NTSC),
  113. |> >so after checking I can just rape the sprites.
  114. |> 
  115. |> No, you can't.
  116.  
  117. ok, I will have to check for non-mmu, non-fpu, kick 3.0, EC020, PCMCIA port,
  118. and fastmem at $C00000, short: 
  119.  
  120. char *checkvanilla1200(); /* =:) */
  121.  
  122. returns "okidoki" on A1200, "careful!" on A4000 and "you damn c0d3r" on A3000 :D
  123.  
  124. Well the only component that could make my copper routines crash in 
  125. a future AGA machine is "kick 3.0". After displaying a warning I will
  126. let user select, brave OCS/ECS/AGA users _might_ get more speed instead
  127. of a crash on OS4.0
  128.  
  129. |> 
  130. |> -- 
  131. |>                                 Michael van Elst
  132. |> 
  133. |> Internet: mlelstv@serpens.rhein.de
  134. |>                                 "A potential Snark may lurk in every tree."
  135. ------------------------------------------------------------------------
  136.    fischerj@Informatik.TU-Muenchen.DE (Juergen "Rally" Fischer)   =:)
  137.  
  138.